package com.squid.cloud.common.enums;

/**
 * 枚举使用状态：启用、禁用
 * @author yuzhou
 *
 */
public enum CommonEnum {
	Y("Y","启用"),
	N("N","禁用"),
	
	/**
	 * Job相关
	 */
	PARSE("PARSE","暂停"),
	RUN("RUN","运行"),
	STOP("STOP","禁用"),
	
	/**
	 * 顾客留言建议相关
	 */
	SEND("SEND","发起"),
	REPLY("REPLY","回复"),
	
	/**
	 * 帮助中心发布范围
	 */
	B("B","商户端"),
	C("C","客户端")
	;
	
	/**
	 * 枚举值
	 */
	private final String code;
	
	/**
	 * 枚举描述	
	 */
	private final String message;
	
	/**
	 * 构造一个<code>PasswordLevelEnum</code>枚举对象
	 *
	 * @param code
	 * @param message
	 */
	private CommonEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String code() {
		return code;
	}

	public String message() {
		return message;
	}
}
